const db = require('../db');

module.exports = db.defineModel('sign_table', {
    "tableId": db.STRING(50),
    "title": {
        "type": db.STRING(100),
        "allowNull": false,        
    },
    "info": {
        "type": db.STRING(200),
        "allowNull": true,
    },
    "struct": {
        "type": db.JSON,
        "allowNull": false,
    },
    "hits": {
        "type": db.INTEGER(32),
        "allowNull": false,
        "defaultValue": 0
    }
});
